home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
tbbs
/
evnts102.zip
/
EVENTS.DOC
next >
Wrap
Text File
|
1996-04-19
|
6KB
|
150 lines
┌────────────────────────────────────────────────────────────────────┐
│ Events! │
├────────────────────────────────────────────────────────────────────┤
│ By Tony Fardella │
│ tonyf@crl.com │
└────────────────────────────────────────────────────────────────────┘
===========
What is it?
===========
Events is a prgram I started writing about a year or so ago. It displays
a pretty good monthly calendar that you can easily navigate using cursor
keys. By selecting any date you are brought to a weekly view that allows
you to select any day of the week. On each day there will be a list of
events for that day that you can select and look at.
You can add new events in either the month view or the week view. You can
edit and delete existing events from the week view. These options are only
available to users with priviledge level 200 and up.
=================
How to Use Events
=================
To use the program just put the EVENTS.TPG file into it's own directory. You
can then simply add an SDL entry to your menu that look something like the
following:
Entry:
1. View the Calendar
KEY=1
TYPE=200
OPT DATA=c:\events\events /q && <optional title> </min edit level>
If you use the title option the text after the two ampersands (&&) will be
used in the header on the Monthly and Weekly views.
The minimum edit level determines what user level is necessary to add, edit
or delete events in the database. This should be a number from 0 to 254.
If this parameter is missing the minimum edit level will be set to 200. Users
with a privilege level lower than the minimum will not see the Add, Edit or
Delete commands in the help screen.
The program will create a file named EVENTDB.DBF which contains the event
database. While the program is running it will also create a couple of other
temporary database files. These files should be deleted automatically when
the user quits the program.
In order to access the "Janitor" commands you need to have a privilege level
of 200 or greater. Currently, the only janitor command is the "Cleanup" command
which packs the events database file. When viewing an event users with
privilege level 200 and up will also be able to see the name of the user
that created an event.
=============
Parting Shots
=============
There were lots of other things I had always planned to do with the code
but I just never got around to it. I put it out in the TDBS world in hopes
that someone else might do something wonderful with it. If you come up with
some interesting let me know, I'd love to see what you've done!
Events! is freeware. Do with it what you will and use it in good health. You
don't owe me a thing except to promise that you'll have a good time tearing
it apart.
Have fun!
Tony Fardella
P.O. Box 452
Cotati, CA 94931
tonyf@crl.com
=========
Revisions
=========
2-4-96
After getting a few e-mail responses from people I was sufficiant inspired
to do some major work to the Events! program. As a result I think that Events!
is now in a semi-usable form. I took out the historical events database and
added the ability to add, edit, display and delete events on any given day.
2-7-96
Added feature to put an asterisk ("*") on days that have events scheduled
in month view.
Fixed a few minor glitches with the Today and Jump functions.
Added the Next and Previous month functions to the help screen and reformated
help screen a bit.
Changed verion number to 1.01 to reflect changes.
2-19-96
Fixed the JUMP command so that it is aware of different centuries.
Made a few other cosmetic changes changing things like the color of
the "Press any key..." prompt.
2-21-96
Added an entry parameter to allow the sysop to set the minimum
user level required to Add or Edit events in the database. Only
user with a priviledge level greater than or equal to the edLevel
may Add new events. The only user that created the event may edit
or delete it. Those with priv level > 200 can edit or delete
any events. To use this parameter put a slash (/) followed by
the privilege level after the title of the calendar.
The Add, Edit and Delete commands will only be shown to users with
the proper privilege level.
If logged in with priv >= 200 you can now see the user ID
of the user who created an event when viewing the events.
Regular users do not see this info.
If logged in with priv >= 200 you have access to the "Janitor"
commands. Currently, the only available command allows you to
"Cleanup" or pack the database file. The Janitor commands will
only be shown to users with privilege level 200 and above.
Added code to update the events database file if it was created
by an older version of this program. Requires that the file
DBUPDATE.TPG be in the same directory as the Events! program.
If the last day of the month had an event scheduled it wasn't
being reflected in with an asterisk in the month view. This has been fixed.
3-24-96
Integrated the historic events database back into the Events program. This
is stored in the file HISTDB.DBF. All events in the database have the year
set to 1900. Currently, there is no built-in way to add events in HISTDB.DBF.
4-10-96
Added the ability to delete events from a range of dates at one time.
Changed the version number in the Help box to 1.02 to reflect the changes
that have been made.